From: Juergen Gross Date: Thu, 15 Sep 2011 14:26:07 +0000 (+0100) Subject: libxc: Enable cpuid performance counter leaf for HVM X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~9896 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2411017e28d64b5d8a37f1b911776ae4353c01ac;p=xen.git libxc: Enable cpuid performance counter leaf for HVM In HVM domains the usable performance counters can be checked automatically only, if cpuid leaf 0x0000000a is accessible. Signed-off-by: Juergen Gross Committed-by: Ian Jackson --- diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c index 0796ae91d2..74dc4ca6bf 100644 --- a/tools/libxc/xc_cpuid_x86.c +++ b/tools/libxc/xc_cpuid_x86.c @@ -392,6 +392,7 @@ static void xc_cpuid_hvm_policy( case 0x00000002: /* Intel cache info (dumped by AMD policy) */ case 0x00000004: /* Intel cache info (dumped by AMD policy) */ + case 0x0000000a: /* Architectural Performance Monitor Features */ case 0x80000002: /* Processor name string */ case 0x80000003: /* ... continued */ case 0x80000004: /* ... continued */